package dao;

import entity.Page;
import entity.PersonalFile;

import java.util.List;

/**
 * @author 孙亚梅
 * @version V1.0
 * @Project javase2203
 * @Package dao
 * @Description:
 * @Date 2022/5/27 12:57
 */
public interface Personaldao {
    List<PersonalFile> selectAll();

    /**
     * 分页查询
     * @param page
     * @return
     */
    List<PersonalFile>  selectAllByPage(Page page);

    /**
     * 查询一共有多少条
     * @return
     */
    int selectAllByPageCount();
    int addOne(PersonalFile personalFile);
    int deleteOne(String personalFileId);
    PersonalFile selectOne(String personalFileId);

    int updateOne(PersonalFile personalFile);


}
